package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IAlertRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class AlertTask {
    @Autowired
    private IAlertRuleService alertRuleService;
    public void deviceDataAlertFilter() {
        System.out.println("开始执行定时任务...");
        alertRuleService.alertFilter();
        System.out.println("定时任务执行完毕...");
    }

}
